﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StatusPattren1
{
    public class StatusOn : BaseStatus
    {
        public void PressSwtich(LightContext context )
        {

            Console.WriteLine("开灯");
            context._baseStatus = new StatusDown();
        }
    }
}
